package fr.labri.buganalyzer.model;

import java.util.HashSet;
import java.util.Set;

public class Tracker {

	private long id;
	private String url;
	private String type;
	Set<Issue> issues;
	Set<Developer> developers;

	public Tracker(){}
	
	public Tracker (String uri){
		this.url = uri;
	}
	
	public Tracker(String type, String url) {
		this.url = url;
		this.type = type;
		this.issues = new HashSet<Issue>();
		this.developers = new HashSet<Developer>();
	}

	public Tracker(int id) {
		this.id = id;
	}


	public String getUrl() {
		return url;
	}

	public String getType() {
		return type;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public void setType(String type) {
		this.type = type;
	}

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public Set<Issue> getIssues() {
		return issues;
	}

	public void setIssues(Set<Issue> issues) {
		this.issues = issues;
	}

	public Set<Developer> getDevelopers() {
		return developers;
	}

	public void setDevelopers(Set<Developer> developers) {
		this.developers = developers;
	}

}
